package org.example.service;

import org.example.ourEnum.ExhibitionStatus;
import org.example.pojo.domain.Exhibition;
import org.example.pojo.vo.ExhibitionToManyArtifactVo;

import java.util.List;

public interface ExhibitionService {
    Exhibition getExhibitionById(Integer id);

    List<Exhibition> getAllExhibitions();

    List<Exhibition> getPublishedExhibitions();

    Integer createExhibition(Exhibition exhibition);

    Integer updateExhibition(Exhibition exhibition);

    Integer deleteExhibition(Integer id);

    List<Exhibition> searchExhibitionsByTitle(String title);

    int getEventCount() ;

    ExhibitionToManyArtifactVo searchDetailById(Integer id);

    void changeStatus(Integer exhibitionId, ExhibitionStatus published);


}
